package com.upic.service;

import com.upic.po.jurisdiction.Operator;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

/**
 * Created by zhubuqing on 2018/2/7.
 */
public interface OperatorService {
    Operator saveOperator(Operator operator);

    String deleteOperator(long operatorId);

    Page<Operator> searchOperator(Pageable pageable);

    List<Operator> searchOperator();

    Operator findOne(long operatorId);

    Operator updateOperator(Operator operator);
}
